import axios from './axiosFun';
import qs from 'qs'


// insert
export const save = (params) => { return axios.post("/api/work/save", params) };
export const update = (params) => { return axios.post("/api/work/update", params) };
export const deletek = (params) => { return axios.post("/api/work/delete?id="+params) };
export const list = (params) => { return axios.post("/api/work/list", params) };
// 根据条件查找
export const findby = (username,workdate) => { return axios.post("/api/work/findby?username=", username + '&workdate=' + workdate) };

